﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using KDS.Mes.Mes.AlcCodeDetails.Dtos;
using KDS.Mes.Dto;

namespace KDS.Mes.Mes.AlcCodeDetails
{
    /// <summary>
    /// ALCCode信息服务接口
    /// </summary>
    public interface IAlcCodeDetailAppService : IApplicationService
    {
        #region ALCCode信息管理

        /// <summary>
        /// 根据查询条件获取ALCCode信息分页列表
        /// </summary>
        Task<PagedResultDto<AlcCodeDetailListDto>> GetPagedAlcCodeDetailsAsync(GetAlcCodeDetailInput input);

        /// <summary>
        /// 通过Id获取ALCCode信息信息进行编辑或修改 
        /// </summary>
        Task<GetAlcCodeDetailForEditOutput> GetAlcCodeDetailForEditAsync(NullableIdDto<int> input);

        /// <summary>
        /// 通过指定id获取ALCCode信息ListDto信息
        /// </summary>
        Task<AlcCodeDetailListDto> GetAlcCodeDetailByIdAsync(EntityDto<int> input);



        /// <summary>
        /// 新增或更改ALCCode信息
        /// </summary>
        Task CreateOrUpdateAlcCodeDetailAsync(CreateOrUpdateAlcCodeDetailInput input);





        /// <summary>
        /// 新增ALCCode信息
        /// </summary>
        Task<AlcCodeDetailEditDto> CreateAlcCodeDetailAsync(AlcCodeDetailEditDto input);

        /// <summary>
        /// 更新ALCCode信息
        /// </summary>
        Task UpdateAlcCodeDetailAsync(AlcCodeDetailEditDto input);

        /// <summary>
        /// 删除ALCCode信息
        /// </summary>
        Task DeleteAlcCodeDetailAsync(EntityDto<int> input);

        /// <summary>
        /// 批量删除ALCCode信息
        /// </summary>
        Task BatchDeleteAlcCodeDetailAsync(List<int> input);

        #endregion

        #region Excel导出功能



        /// <summary>
        /// 获取ALCCode信息信息转换为Excel
        /// </summary>
        /// <returns></returns>
        Task<FileDto> GetAlcCodeDetailToExcel();

        #endregion





    }
}
